package com.zdkj.subway.check.enums;

import lombok.Getter;

/**
 * 返回详情信息
 */
@Getter
public enum ResultDetailMsg {
    OK(0,"成功"),
    CHECK_INSERT_ERROR(1,"添加失败"),
    CHECK_UPDATE_ERROR(2,"修改失败"),
    CHECK_DELETE_ERROR(3,"删除失败"),
    MONDIFY_FILE_FAILD(5,"处理文件失败"),
    CHECK_SELECT_ERROR(4,"查询失败");
    private int code;
    private String desc;

    ResultDetailMsg(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }


}
